load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "plugin",
    srcs = ["plugin.pb.go"],
    importmap = "github.com/cockroachdb/cockroach/vendor/github.com/golang/protobuf/protoc-gen-go/plugin",
    importpath = "github.com/golang/protobuf/protoc-gen-go/plugin",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/google.golang.org/protobuf/reflect/protoreflect",
        "//vendor/google.golang.org/protobuf/runtime/protoimpl",
        "//vendor/google.golang.org/protobuf/types/pluginpb",
    ],
)
